//
//  ProgressHUDBottomVC.m
//  HXDemo
//
//  Created by 李亚军 on 16/11/25.
//  Copyright © 2016年 李亚军. All rights reserved.
//

#import "ProgressHUDBottomVC.h"

@interface ProgressHUDBottomVC ()

@end

static ProgressHUDBottomVC *progressHUDBottomVC = nil;
@implementation ProgressHUDBottomVC

+ (ProgressHUDBottomVC *)shareProgressHUDBottomVCWithStoryboardName:(NSString *)storyboardName storyboardID:(NSString *)storyboardID {
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        UIStoryboard *storyboard = [UIStoryboard storyboardWithName:storyboardName bundle:nil];
        
        progressHUDBottomVC = [storyboard instantiateViewControllerWithIdentifier:storyboardID];
    });
    
    return progressHUDBottomVC;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    
}

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    self.view.backgroundColor = [UIColor clearColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
